package com.blog.entity;

import java.util.Date;

/**
 * @author 蒲鑫
 * @function 功能：传输管理员相关信息
 * @date 2023年5月25日
 */
public class Admin {
	private int adminId;//管理员id

	private String adminName;//管理员用户名

	private String adminPass;//管理员密码
	
	private int adminLevel;//管理员等级

	private Date regDate;//管理员注册时间

	public int getAdminId() {
		return adminId;
	}

	public void setAdminId(int adminId) {
		this.adminId = adminId;
	}

	public String getAdminName() {
		return adminName;
	}

	public void setAdminName(String adminName) {
		this.adminName = adminName;
	}

	public String getAdminPass() {
		return adminPass;
	}

	public void setAdminPass(String adminPass) {
		this.adminPass = adminPass;
	}

	public int getAdminLevel() {
		return adminLevel;
	}

	public void setAdminLevel(int adminLevel) {
		this.adminLevel = adminLevel;
	}

	public Date getRegDate() {
		return regDate;
	}

	public void setRegDate(Date regDate) {
		this.regDate = regDate;
	}

	@Override
	public String toString() {
		return "Admin [adminId=" + adminId + ", adminName=" + adminName + ", adminPass=" + adminPass + ", adminLevel="
				+ adminLevel + ", regDate=" + regDate + "]";
	}

	public Admin(int adminId, String adminName, String adminPass, int adminLevel, Date regDate) {
		super();
		this.adminId = adminId;
		this.adminName = adminName;
		this.adminPass = adminPass;
		this.adminLevel = adminLevel;
		this.regDate = regDate;
	}

	public Admin() {
		super();
	}
	
}
